<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
	<title>双辉旅程网-{$user->nickname}</title>
	<link rel='stylesheet prefetch' href='https://res.wx.qq.com/open/libs/weui/1.1.0/weui.min.css'>
    <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
    {load href="/api/js/weui.min.js" /}
    <style type="text/css">
        html, body{
            height: 100%;
        }

        body{
            border-color: #efeff4;
        }
    </style>
</head>
<body>
<div class="weui-tab">
    <div class="weui-tab__panel">
        <div class="weui-grids">
            <a href="/order/index" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    我的订单
                </p>
            </a>
            <a href="/user/recharge" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_article.png" alt="">
                </div>
                <p class="weui-grid__label">
                    积分充值
                </p>
            </a>
            <a href="/user/wish" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    发布需求
                </p>
            </a>
            <a href="/order/index" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    我的订单
                </p>
            </a>
            <a href="/user/recharge" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_article.png" alt="">
                </div>
                <p class="weui-grid__label">
                    积分充值
                </p>
            </a>
            <a href="/user/wish" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    发布需求
                </p>
            </a>
            <a href="/order/index" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    我的订单
                </p>
            </a>
            <a href="/user/recharge" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_article.png" alt="">
                </div>
                <p class="weui-grid__label">
                    积分充值
                </p>
            </a>
            <a href="/user/wish" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    发布需求
                </p>
            </a>
            <a href="/order/index" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    我的订单
                </p>
            </a>
            <a href="/user/recharge" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_article.png" alt="">
                </div>
                <p class="weui-grid__label">
                    积分充值
                </p>
            </a>
            <a href="/user/wish" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    发布需求
                </p>
            </a>
            <a href="/order/index" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    我的订单
                </p>
            </a>
            <a href="/user/recharge" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_article.png" alt="">
                </div>
                <p class="weui-grid__label">
                    积分充值
                </p>
            </a>
            <a href="/user/wish" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    发布需求
                </p>
            </a>
            <a href="/order/index" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    我的订单
                </p>
            </a>
            <a href="/user/recharge" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_article.png" alt="">
                </div>
                <p class="weui-grid__label">
                    积分充值
                </p>
            </a>
            <a href="/user/wish" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    发布需求
                </p>
            </a>
            <a href="/order/index" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    我的订单
                </p>
            </a>
            <a href="/user/recharge" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_article.png" alt="">
                </div>
                <p class="weui-grid__label">
                    积分充值
                </p>
            </a>
            <a href="/user/wish" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    发布需求
                </p>
            </a>
            <a href="/order/index" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    我的订单
                </p>
            </a>
            <a href="/user/recharge" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_article.png" alt="">
                </div>
                <p class="weui-grid__label">
                    积分充值
                </p>
            </a>
            <a href="/user/logout" class="weui-grid">
                <div class="weui-grid__icon">
                    <img src="/api/images/icon_nav_button.png" alt="">
                </div>
                <p class="weui-grid__label">
                    发布需求
                </p>
            </a>
        </div>
    </div>
    <div class="weui-tabbar">
        <a href="/user/index" class="weui-tabbar__item weui-bar__item_on">
            <img src="http://weui.github.io/weui/images/icon_nav_button.png" alt="" class="weui-tabbar__icon">
            <p class="weui-tabbar__label">我的首页</p>
        </a>
        <a href="/user/car" class="weui-tabbar__item">
            <img src="http://weui.github.io/weui/images/icon_nav_msg.png" alt="" class="weui-tabbar__icon">
            <p class="weui-tabbar__label">我的房车</p>
        </a>
        <a href="/order/index" class="weui-tabbar__item">
            <span style="display: inline-block;position: relative;">
                <img src="http://weui.github.io/weui/images/icon_nav_article.png" alt="" class="weui-tabbar__icon">
                <span class="weui-badge weui-badge_dot" style="position: absolute;top: 0;right: -6px;"></span>
            </span>
            <p class="weui-tabbar__label">我的订单</p>
        </a>
        <a href="/user/index" class="weui-tabbar__item">
            <img src="http://weui.github.io/weui/images/icon_nav_cell.png" alt="" class="weui-tabbar__icon">
            <p class="weui-tabbar__label">我要预约</p>
        </a>
    </div>
</div>


<div id="dialog1" style="display: none;">
    <div class="weui-mask"></div>
    <div class="weui-dialog">
        <div class="weui-dialog__hd"><strong class="weui-dialog__title">你好</strong></div>
        <div class="weui-dialog__bd">确定退出</div>
        <div class="weui-dialog__ft">
            <a href="javascript:;" id="close" class="weui-dialog__btn weui-dialog__btn_default">取消</a>
            <a href="javascript:;" id="logout" class="weui-dialog__btn weui-dialog__btn_primary">确定</a>
        </div>
    </div>
</div>


<script type="text/javascript">
    $(document).ready(function(){
    	$("#log").on("click",function(){
    		$("#dialog1").show();
    		//window.location.href = '/user/logout'; 
    	});
    	$("#close").on("click",function(){
    		$("#dialog1").hide();
    		//window.location.href = '/user/logout'; 
    	});
    	$("#logout").on("click",function(){
    		$("#dialog1").hide();
    		window.location.href = '/user/logout'; 
    	});
    });
</script>
</body>
</html>